Fail to scroll if the given mark is not in text view's current buffer
authorKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 11:34:56 +0000 (13:34 +0200)
committerKristian Rietveld <kris@gtk.org>
Fri, 4 Sep 2009 12:06:58 +0000 (14:06 +0200)
commit7a3d98324df08cce17ee0ffce74c0fa73b38ee4a
tree5e4bbf2a03968894fa61fb758e0dfd070541db63
parent3a917a2a677b02b587a44b7157231418508faa5e
Fail to scroll if the given mark is not in text view's current buffer

In gtk_text_view_queue_scroll() we need to verify if the given mark
exists in the text view's current buffer.  When not done, this can
result in corruption of the BTree data structure.  Patch merged from
maemo-gtk.
gtk/gtktextview.c